<?php

/**
 * 导入类
 */
use EasyWeChat\Factory;

/**
 * 微信小程序二维码操作类
 */
class MiniBase {
    protected $app = null;
    
    function __construct(){
        $config = [
            "app_id" => '',
            "secret" => '',
            "response_type" => 'array',
            "log" => [
                "level" => "debuf",
                "file" => ROOT . 'log/wechat.log'
            ]
        ];
        $this->app = Factory::miniProgram($config);
    }

    
}
